package com.huawang.mdesign.model.service.request.property;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author cdl
 */
@Data
public class MeasurementDTO {

    @Schema(title = "项目id")
    @NotBlank(message = "项目id不能为空")
    private String projectId;

    @Schema(title = "分类器id")
    @NotEmpty(message = "分类器不能为空")
    private List<String> classifiers;

    @Schema(title = "true:度量;false:实际度量")
    private Boolean flag;
}
